@header-height: 100px;
@content-background-color: #fefefe;

.Sheet {
  --radius: 25px;

  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  max-height: var(--max-height);
  pointer-events: all;

  &.dragging {
    transition: none;
  }

  .Content {
    display: block;
    padding: 20px;
    overflow-y: auto;
    background-color: @content-background-color;
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
  }
}

.Header {
  --radius: 25px;
  --cursor: grab;
  --color: rgba(0, 0, 0, 0.05);

  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: @header-height;
  padding: 1rem;
  color: #333;
  font-size: 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  cursor: var(--cursor);
  touch-action: none;

  &::before {
    position: absolute;
    top: 10px;
    width: 50px;
    height: 3px;
    background-color: var(--color);
    border-radius: 10px;
    transition: background-color 0.2s ease;
    content: '';
  }

  .dragging & {
    --cursor: grabbing;
    --color: rgba(0, 0, 0, 0.12);
  }
}

.draggableContainer {
  width: 500px;
  padding: 15px;
  background-color: #fff;
  .draggableContent {
    // height: 95%;
    // overflow: hidden;
    // overflow-y: auto;
  }
}
